<template>
  <div>
    <ul>
      <li><router-link to="/">首页</router-link></li>
      <li><router-link to="/login">登录</router-link></li>
    </ul>
    <p>
      <!-- 路由出口 -->
      <router-view></router-view>
    </p>
  </div>
</template>

<script setup>
</script>

<style lang="scss" scoped>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul {
  list-style-type: none;
  display: flex;
  li {
    font-size: 25px;
    margin: 0 8px;
  }
}
</style>